using System.ServiceModel;
using System.Collections.Generic;

namespace WCFDicing.ServiceContracts
{
    /// <summary>
    /// prosba o zalozenie nowego stolu
    /// </summary>
    [MessageContract]
    public class CreateRoomRequest
    {
        /// <summary>
        /// nazwa stolu
        /// </summary>
        private System.String RoomNameField;

        /// <summary>
        /// get i set nazwa stolu
        /// </summary>
        [MessageBodyMember( Order = 0 )]
        public System.String RoomName
        {
            get { return RoomNameField; }
            set { RoomNameField = value; }
        }
        /// <summary>
        /// opcje gry
        /// </summary>
        private WCFDicing.DataContracts.DicingRoomOption SettingsField;

        /// <summary>
        /// get i set opcje gry
        /// </summary>
        [MessageBodyMember( Order = 1 )]
        public WCFDicing.DataContracts.DicingRoomOption Settings
        {
            get { return SettingsField; }
            set { SettingsField = value; }
        }

        /// <summary>
        /// id wlasciciela stolu
        /// </summary>
        private System.Int32 OwnerIDField;

        /// <summary>
        /// get i set id wlasciciela stolu
        /// </summary>
        [MessageBodyMember( Order = 2 )]
        public System.Int32 OwnerID
        {
            get { return OwnerIDField; }
            set { OwnerIDField = value; }
        }
    }
}


